<?php
/**
 * 用户练习配置
 */
namespace service\vo\practice;

class Practice
{
    //id
    private int $id;
    //用户id
    private int $userId;
    //练习模式
    private int $mode;
    //练习方向
    private int $direction;
    //题目数量
    private int $subjectCount;
    //练习时长
    private int $time;
    //添加时间
    private string $addTime;

    /**
     * @return int
     */
    public function getId(): int
    {
        return $this->id;
    }

    /**
     * @param int $id
     */
    public function setId(int $id): void
    {
        $this->id = $id;
    }

    /**
     * @return int
     */
    public function getMode(): int
    {
        return $this->mode;
    }

    /**
     * @param int $mode
     */
    public function setMode(int $mode): void
    {
        $this->mode = $mode;
    }

    /**
     * @return int
     */
    public function getDirection(): int
    {
        return $this->direction;
    }

    /**
     * @param int $direction
     */
    public function setDirection(int $direction): void
    {
        $this->direction = $direction;
    }

    /**
     * @return int
     */
    public function getSubjectCount(): int
    {
        return $this->subjectCount;
    }

    /**
     * @param int $subjectCount
     */
    public function setSubjectCount(int $subjectCount): void
    {
        $this->subjectCount = $subjectCount;
    }

    /**
     * @return int
     */
    public function getTime(): int
    {
        return $this->time;
    }

    /**
     * @param int $time
     */
    public function setTime(int $time): void
    {
        $this->time = $time;
    }

    /**
     * @return string
     */
    public function getAddTime(): string
    {
        return $this->addTime;
    }

    /**
     * @param string $addTime
     */
    public function setAddTime(string $addTime): void
    {
        $this->addTime = $addTime;
    }

    /**
     * @return int
     */
    public function getUserId(): int
    {
        return $this->userId;
    }

    /**
     * @param int $userId
     */
    public function setUserId(int $userId): void
    {
        $this->userId = $userId;
    }


}